import os

if 'CONDA_PREFIX' in os.environ:
    print("--------------You are in a conda environment.--------------")
else:
    print("--------------You are not in a conda environment.--------------")